package com.eco.fanliapp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eco.fanliapp.entity.AppVersion;

import java.util.List;

/**
 * app版本 数据层
 * 
 * @author xiaoxx
 * @date 2019-05-15
 */
public interface AppVersionMapper extends BaseMapper<AppVersion>
{
	/**
     * 查询app版本信息
     */
	public AppVersion selectAppVersionById(Integer id);
	
	/**
     * 查询app版本列表
     */
	public List<AppVersion> selectAppVersionList(AppVersion appVersion);
	
	/**
     * 新增app版本
     */
	public int insertAppVersion(AppVersion appVersion);
	
	/**
     * 修改app版本
     */
	public int updateAppVersion(AppVersion appVersion);
	
	/**
     * 删除app版本
     */
	public int deleteAppVersionById(Integer id);
	
	/**
     * 批量删除app版本
     */
	public int deleteAppVersionByIds(String[] ids);

	/**
	 * 
	 * @return
	 */
	public List selectAllAppVersion();

	/**
	 * 
	 * @param platform
	 * @return
	 */
	public AppVersion selectAppVersionAllById(String platform);
	
}